export interface ComponentType {
    _id: string,
    updated?: string,
    created?: string,
    moduleId: string,
    compontName: string,
    tag: string,
    uiType: string,
    compontType: string,
    remark: string,
    status: number,
    attributes: AttributesType[],
    slots: SlotsType[],
    events: EventsType[],
    methods: MethodsType[]
}

export interface AttributesType {
    attributeName: string,
    attributeValue: string,
    defaultValue: string,
    dttributeType: string,
    dataType: string,
    status: number,
    remark: string
}

export interface SlotsType {
    slotName: string,
    templateIds: string,
    defaultValue: string,
    sort: number,
    status: number,
    remark: string
}

export interface EventsType {
    eventName: string,
    eventType: string,
    defaultValue: string,
    sort: number,
    status: number,
    remark: string
}

export interface MethodsType {
    methodName: string,
    defaultValue: string,
    sort: number,
    status: number,
    remark: string
}